﻿<%@ Page Language="C#" CodeBehind="BoxAddNote.aspx.cs" Inherits="BikeBouncer.Site.BoxAddNote_aspx" MasterPageFile="/BoxLayout.master" %>
<%@ Register TagPrefix="BB" TagName="Ads" Src="/Ads.ascx" %>
<%@ Register TagPrefix="recaptcha" Namespace="Recaptcha" Assembly="Recaptcha" %>
<asp:Content ContentPlaceHolderID="BoxContents" runat="server">
	<asp:Panel ID="PanForm" runat="server">
		<p>
			<asp:Literal meta:resourcekey="LitNoteInfo" runat="server" />
		</p>
		<div class="PanelForm">
			<asp:Label AssociatedControlID="TxtNoteDate" meta:resourcekey="LblNoteDate" runat="server" />
			<asp:TextBox ID="TxtNoteDate" CssClass="FormText" Width="220px" ValidationGroup="AddNote" meta:resourcekey="TxtNoteDate" runat="server" />
			<asp:RangeValidator ID="ValTxtNoteDate" ControlToValidate="TxtNoteDate" Type="Date" Display="Dynamic" Text="Invalid date!" meta:resourcekey="ValTxtNoteDate" runat="server" />
			<asp:CalendarExtender ID="Calendar_TxtNoteDate" runat="server"
									TargetControlID="TxtNoteDate" />
			<br />
			<asp:Label AssociatedControlID="TxtNotePostcode" meta:resourcekey="LblNotePostcode" runat="server" />
			<asp:TextBox ID="TxtNotePostcode" CssClass="FormText" Width="120px" meta:resourcekey="TxtNotePostcode" runat="server" />
			<br />
			<asp:Label AssociatedControlID="TxtNoteLocation" meta:resourcekey="LblNoteLocation" runat="server" />
			<asp:TextBox ID="TxtNoteLocation" CssClass="FormText" Width="300px" meta:resourcekey="TxtNoteLocation" runat="server" />
			<asp:TextBoxWatermarkExtender ID="Watermark_TxtNoteLocation" TargetControlID="TxtNoteLocation" meta:resourcekey="Watermark_TxtNoteLocation" runat="server" />
			<br />
			<asp:Label AssociatedControlID="TxtNoteCity" meta:resourcekey="LblNoteCity" runat="server" />
			<asp:TextBox ID="TxtNoteCity" CssClass="FormText" Width="300px" meta:resourcekey="TxtNoteCity" runat="server" />
			<asp:AutoCompleteExtender ID="AutoComplete_TxtNoteCity" runat="server"
										  ServiceMethod="AutoComplete_City"
										  TargetControlID="TxtNoteCity" />
			<br />
			<asp:Label AssociatedControlID="TxtNotePhone" meta:resourcekey="LblNotePhone" runat="server" />
			<asp:TextBox ID="TxtNotePhone" CssClass="FormText" Width="300px" meta:resourcekey="TxtNotePhone" runat="server" />
			<br />
			<asp:Label AssociatedControlID="TxtNoteDetails" CssClass="FormLabelRequired" meta:resourcekey="LblNoteDetails" runat="server" />
			<asp:TextBox ID="TxtNoteDetails" CssClass="FormArea" Width="306px" Rows="4" TextMode="MultiLine" meta:resourcekey="TxtNoteTitle" runat="server" />
			<asp:RequiredFieldValidator ID="ReqTxtNoteDetails" ControlToValidate="TxtNoteDetails" Display="Dynamic" Text="*" meta:resourcekey="ReqTxtNoteDetails" runat="server" />
		</div>
		<div class="Recaptcha">
			<asp:Label meta:resourcekey="LblCatpcha" runat="server" />
			<recaptcha:RecaptchaControl ID="Captcha" runat="server"
			PrivateKey="6LfvWsESAAAAAOMsCOsZbtQUF3V3J2zwTytZlOVz"
			PublicKey="6LfvWsESAAAAAA06SjUwVpRhStbLHg2bz8Noou9q"
			Theme="white" />
		</div>
		<div class="PanelButtons">
			<asp:Button ID="ButNoteSave" CssClass="FormButton" meta:resourcekey="ButNoteSave" runat="server" />
		</div>
	</asp:Panel>
	<asp:Panel ID="PanNoteAdded" runat="server">
		<div class="ModalFormOk">
			<div class="ModalPanel">
				<img src="/Images/Ico/NoteAdded48.png" width="48" height="48" alt="OK" />
				<p>
					<asp:Label CssClass="Ok" meta:resourcekey="LblNoteAdded" runat="server" />
				</p>
				<p>
					<asp:Label meta:resourcekey="LblAddedInfo" runat="server" />
				</p>
			</div>
			<br /><br /><br />
			<asp:Panel ID="PanOkRegister" Visible="false" runat="server">
				<asp:Literal meta:resourcekey="LitAddedRegister" runat="server" />
				<br />
				<asp:HyperLink NavigateUrl="/Register.aspx" Target="_parent" Font-Bold="true" meta:resourcekey="LinkRegister" runat="server" />
			</asp:Panel>
			<asp:Panel ID="PanOkLogged" Visible="false" runat="server">
				<asp:Literal ID="LitAddedLogged" meta:resourcekey="LitAddedLogged" runat="server" />
			</asp:Panel>
		</div>
	</asp:Panel>
</asp:Content>